import { DocumentItem } from "./DocumentItem";

export function DocumentList({ docList }) {
  return (
    <div className="flex flex-col items-center border-[2px] border-[#000000];">
      {docList.map(doc => (
        <DocumentItem key={doc.id} doc={doc} />
      ))}
    </div>
  );
}
